﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="Admin_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>系统登陆</title>
	<style type="text/css">
	body { margin:0px;  top:0; left:o; FONT-SIZE: 12px; COLOR: #333333; LINE-HEIGHT: 150%; FONT-FAMILY: "宋体"}
	#main{ margin:auto; width:913px; height:100%}
	#tip1 { position:relative; margin-top:0px; height:110px; width:461px;}
	#tip2 { position:relative; height:32px; margin-left:461px; width:400px; margin-top:-32px;}
	
	#login_bg{ margin:auto; width:913px;margin-top:-5px; height:230px;background-image:url(images/login_bg.gif); }
	#login_bg_from{margin-left:461px; padding-top:50px; padding-left:60px; }
	
		#login_name input{ width:160px; height:16px;  }
		#login_pwd{ margin-top:10px;}
		#login_pwd input{ width:160px; height:16px; }
		#login_code{margin-top:2px; }
		#login_code input{ width:60px; height:16px; }
	    #submitBut{ margin-top:10px; padding-left:20px;}
	
	
	#footer{ margin-top:20px;}
	
</style>


</head>
<body  background="images/bg.gif">
 <form id="form1" runat="server">
<div id="main">
  <div align="left" style="height:80px;width:212px;"><!-- <img height="80px" alt=""  src="images/log_mykd_n.gif"  width="212px" />-->
      &nbsp;</div>
  <div id="tip1"></div>
  <div id="tip2" align="right"><img height="32px" alt=""  src="images/pic_text.gif" width="381px" /></div>
  
   <div id="login_bg">
   
   <div id="login_bg_from">
       <div id="login_name">用户名&nbsp; 
           <asp:TextBox ID="username" runat="server" ></asp:TextBox>
              </div>
	   <div id="login_pwd">密&nbsp;&nbsp;&nbsp;码 
           <asp:TextBox ID="password" runat="server" TextMode="Password"></asp:TextBox>
       </div>
	   <div id="login_code">
	    <table style="width:98%"  border="0">
          <tr>
            <td width="50px">验证码&nbsp;</td>
            <td width="52px"> 
                <asp:TextBox ID="code" runat="server"></asp:TextBox>
                 
                </td>
            <td><img src="GetValidate.aspx"  alt="" style="cursor:hand;" onclick="codeRefresh(this);return false;" /></td>
          </tr>
        </table>
       </div>


    <div id="submitBut">
      <asp:ImageButton ID="LoginButton" runat="server" ImageUrl="images/but1.gif" OnClick="LoginButton_Click"  />
     
      
    </div>
   </div>
   
   </div>
   <script language="javascript" type="text/javascript">
    function codeRefresh(obj)
        {
            obj.src = "GetValidate.aspx?pcode=" + (Math.random() *1000);
        }
   </script>
 </form>

</html>